<template>

   <el-table
      :data="tableData"
      style="width: 100%">
      <el-table-column
        prop="names"
        label="岗位的名称"
        width="180">
      </el-table-column>
      <el-table-column
        prop="city"
        label="城市"
        width="180">
      </el-table-column>
      <el-table-column
        prop="workage"
        label="工作年限">
      </el-table-column>
       <el-table-column
        prop="education"
        label="学历">
      </el-table-column>

     <el-table-column
        prop="salary"
        label="薪资">
      </el-table-column>
    </el-table>
</template>

<script>
 export default {
      data() {
        return {
          tableData: [
           ]
        }
      },
   mounted() {
        fetch("http://127.0.0.1:5000/getAiData").then((e)=>{
          return e.json()
        }).then((e)=>{
          this.tableData=e
        })
   }
 }
</script>

<style scoped>

</style>